projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12155b4
)
Avoid unused variable warnings
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 23 Mar 2017 16:15:00 +0000
(16:15 +0000)
committer
Daniel Boles
<dboles@src.gnome.org>
Sun, 26 Mar 2017 14:05:37 +0000
(15:05 +0100)
gdk/x11/gdkscreen-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkscreen-x11.c
b/gdk/x11/gdkscreen-x11.c
index 96c9eee9b8cf6dd1035d039f403f32f190d93a23..7bf9979995fee5d1dcaf8016fdb169f5ee533e04 100644
(file)
--- a/
gdk/x11/gdkscreen-x11.c
+++ b/
gdk/x11/gdkscreen-x11.c
@@
-1040,13
+1040,13
@@
_gdk_x11_screen_get_edge_monitors (GdkScreen *screen,
gint *left,
gint *right)
{
+#ifdef HAVE_XFREE_XINERAMA
GdkX11Screen *x11_screen = GDK_X11_SCREEN (screen);
gint top_most_pos = x11_screen->height;
gint left_most_pos = x11_screen->width;
gint bottom_most_pos = 0;
gint right_most_pos = 0;
gint i;
-#ifdef HAVE_XFREE_XINERAMA
XineramaScreenInfo *x_monitors;
int x_n_monitors;
#endif